package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ukaodev on 2017/9/13.
 */

public class ScanCodeBean  extends  BaseBean<ScanCodeBean> implements Parcelable {

        /**
         * batchInId : 136
         * code : 19000108
         * storeName : 友靠麓云店
         * clothCnt : 6
         * annexCnt : 1
         */

        private int batchInId;
        private String code;
        private String storeName;
        private int clothCnt;
        private int annexCnt;
        private   int batchOutId;
  private  String orderNo;
  private   int       proCnt;


    public void setBatchOutId(int batchOutId) {
        this.batchOutId = batchOutId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getProCnt() {
        return proCnt;
    }

    public void setProCnt(int proCnt) {
        this.proCnt = proCnt;
    }



    public int getBatchOutId() {
        return batchOutId;
    }

    public int getBatchInId() {
            return batchInId;
        }

        public void setBatchInId(int batchInId) {
            this.batchInId = batchInId;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public int getClothCnt() {
            return clothCnt;
        }

        public void setClothCnt(int clothCnt) {
            this.clothCnt = clothCnt;
        }

        public int getAnnexCnt() {
            return annexCnt;
        }

        public void setAnnexCnt(int annexCnt) {
            this.annexCnt = annexCnt;
        }


    public ScanCodeBean() {
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.batchInId);
        dest.writeString(this.code);
        dest.writeString(this.storeName);
        dest.writeInt(this.clothCnt);
        dest.writeInt(this.annexCnt);
        dest.writeInt(this.batchOutId);
        dest.writeString(this.orderNo);
        dest.writeInt(this.proCnt);
    }

    protected ScanCodeBean(Parcel in) {
        this.batchInId = in.readInt();
        this.code = in.readString();
        this.storeName = in.readString();
        this.clothCnt = in.readInt();
        this.annexCnt = in.readInt();
        this.batchOutId = in.readInt();
        this.orderNo = in.readString();
        this.proCnt = in.readInt();
    }

    public static final Creator<ScanCodeBean> CREATOR = new Creator<ScanCodeBean>() {
        @Override
        public ScanCodeBean createFromParcel(Parcel source) {
            return new ScanCodeBean(source);
        }

        @Override
        public ScanCodeBean[] newArray(int size) {
            return new ScanCodeBean[size];
        }
    };
}
